DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / FilterAsync Method / FilterAsync<T>(IDataCollection<T>,Func<Object,Boolean>) Method
The data collection.
The predicate which will filter the collection.

In This Topic
    FilterAsync<T>(IDataCollection<T>,Func<Object,Boolean>) Method
    In This Topic
    Filters the data from a query string.
    Syntax
    'Declaration
     
    Public Overloads Shared Function FilterAsync(Of T As Class)( _
       ByVal dataCollection As IDataCollection(Of T), _
       ByVal predicate As Func(Of Object,Boolean) _
    ) As Task
    public static Task FilterAsync<T>( 
       IDataCollection<T> dataCollection,
       Func<object,bool> predicate
    )
    where T: class

    Parameters

    dataCollection
    The data collection.
    predicate
    The predicate which will filter the collection.

    Type Parameters

    T
    See Also